﻿using System.ComponentModel.DataAnnotations;

namespace AnQinFrameWorkAPI.Entity.SystemCore.DTO.SystemConfig;

public class SystemConfigAddDTO
{
    /// <summary>
    ///     全局配置编码
    /// </summary>
    [Required(ErrorMessage = "配置编码不可为空")]
    public string Code { get; set; }

    /// <summary>
    ///     全局配置
    /// </summary>
    [Required(ErrorMessage = "全局配置不可为空")]
    public string Content { get; set; }
}